﻿<UserControl x:Class="Moonwish.Silverlight.OsAvatar.Controls.Avatar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="25"></RowDefinition>
        </Grid.RowDefinitions>
        <Border x:Name="ImagePanel" Opacity="0.5" Grid.Row="0" Width="50" Height="50" Margin="0,0,0,0">
            <Border.BorderBrush>
                <LinearGradientBrush>
                    <GradientStop Color="Green" Offset="0"/>
                    <GradientStop Color="Aqua" Offset="1"/>
                </LinearGradientBrush>
            </Border.BorderBrush>
            <Grid x:Name="grdImagePanel">
                <Canvas x:Name="Canvas1" Width="50" Height="50" Canvas.Left="0" 
		      Canvas.Top="0">
                    <Path x:Name="Path1" Width="50" Height="50" Canvas.Left="0" 
			      Canvas.Top="0" Stretch="Fill" 
                  StrokeThickness="1.33319" 
			      StrokeLineJoin="Round" Stroke="#FF000000" 
			      Data="F1 M 189.42,22.7504C 195.199,20.306 

    250.876,17.7504 275.532,17.7504C 300.188,17.7504 359.999,20.8198 364.422,23.7504C 
    368.845,26.6811 369.067,27.7923 370.088,30.4164C 372.233,32.2089 376.088,80.2348 
    376.088,114.973C 376.088,149.711 377.067,174.57 370.088,203.418C 368.706,206.875 
    366.817,208.181 363.422,210.084C 334.65,216.848 310.203,218.084 274.199,218.084C 
    238.195,218.084 198.539,212.459 189.42,210.084C 185.733,208.959 184.067,207.514 
    181.754,204.418C 176.511,175.514 175.754,157.647 175.754,114.306C 175.754,70.9657 
    179.421,33.3045 182.754,29.4164C 185.372,25.2991 185.206,25.5908 189.42,22.7504 Z ">

                        <Path.Fill>
                            <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                <LinearGradientBrush.GradientStops>
                                    <GradientStop Color="#FF427183" Offset="0"/>
                                    <GradientStop Color="#FF4C8AA8" Offset="1"/>
                                </LinearGradientBrush.GradientStops>
                            </LinearGradientBrush>
                        </Path.Fill>
                    </Path>
                </Canvas>
                <Canvas x:Name="Canvas2" Width="50" Height="50" Canvas.Left="0" 
               Canvas.Top="0">
                    <Path x:Name="Path2" Width="49.3" Height="49.3" Canvas.Left="1" 
                 Canvas.Top="1"
			     Stretch="Fill" StrokeThickness="1.33319" 
                 StrokeLineJoin="Round" 
			     Stroke="#FFFFFFFF" 
			     Data="F1 M 190.257,23.4393C 195.986,21.0155 

    251.182,18.4815 275.625,18.4815C 300.068,18.4815 359.362,21.525 363.746,24.4309C 
    368.131,27.3368 368.351,28.4387 369.363,31.0407C 371.49,32.8181 375.311,80.4393 
    375.311,114.884C 375.311,149.329 376.282,173.979 369.363,202.584C 367.993,206.013 
    366.12,207.307 362.755,209.194C 334.232,215.901 309.996,217.127 274.303,217.127C 
    238.61,217.127 199.297,211.549 190.257,209.194C 186.602,208.079 184.95,206.646 
    182.658,203.576C 177.46,174.916 176.71,157.199 176.71,114.224C 176.71,71.2483 
    180.345,33.9044 183.649,30.0491C 186.244,25.9666 186.079,26.2558 190.257,23.4393 Z "/>


                </Canvas>
                <Canvas x:Name="Canvas3" Width="50" Height="50" Canvas.Left="0" 
                       Canvas.Top="0">
                    <Path x:Name="Path3" Width="43.3" Height="43.3" Canvas.Left="3.3" 
                Canvas.Top="3.3" 
			    Stretch="Fill" StrokeThickness="1.33319" 
                StrokeLineJoin="Round" 
			    Stroke="#FFFFFFFF" Fill="#FF185D7C" 
			    Data="F1 M 196.596,30.1355L 355.245,30.1355C 
    358.927,30.1355 361.911,33.12 361.911,36.8015L 361.911,195.451C 361.911,199.132 
    358.927,202.117 355.245,202.117L 196.596,202.117C 192.914,202.117 189.93,199.132 
    189.93,195.451L 189.93,36.8015C 189.93,33.12 192.914,30.1355 196.596,30.1355 Z "/>
                </Canvas>
                <Canvas x:Name="Canvas4" Width="50" Height="50" Canvas.Left="0" Canvas.Top="0">
                    <Path x:Name="Path4" Width="42.7" Height="42.7" Canvas.Left="3.7" Canvas.Top="3.7" 
		    Stretch="Fill" StrokeThickness="1.33319" StrokeLineJoin="Round" 
		    Stroke="#FF000000"
	        Data="F1 M 197.8,31.4281L 353.783,31.4281C 
    357.464,31.4281 360.449,34.4126 360.449,38.0941L 360.449,194.077C 360.449,197.759 
    357.464,200.743 353.783,200.743L 197.8,200.743C 194.118,200.743 191.134,197.759 
    191.134,194.077L 191.134,38.0941C 191.134,34.4126 194.118,31.4281 197.8,31.4281 Z ">
                        <Path.Fill>
                            <LinearGradientBrush StartPoint="0.0578296,0.0262506" EndPoint="0.995431,0.963852">
                                <LinearGradientBrush.GradientStops>
                                    <GradientStop Color="#7FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#26FFFFFF" Offset="0.488584"/>
                                    <GradientStop Color="#00FFFFFF" Offset="0.525114"/>
                                </LinearGradientBrush.GradientStops>
                            </LinearGradientBrush>
                        </Path.Fill>
                    </Path>
                </Canvas>
                <Canvas x:Name="Canvas5" Width="50" Height="50" Canvas.Left="0" Canvas.Top="0">
                    <Path x:Name="Path5" Width="48" Height="25.7" Canvas.Left="1" Canvas.Top="1" Stretch="Fill" Data="F1 M 191.246,23.7614C 196.974,21.3376 252.17,18.8035 
    276.613,18.8035C 301.056,18.8035 360.35,21.847 364.734,24.753C 369.119,27.6589 
    369.339,28.7607 370.351,31.3627C 372.478,33.1402 374.299,72.7613 374.299,107.206C 
    374.299,112.46 316.899,122.449 275.291,122.449C 233.683,122.449 177.698,111.925 
    177.698,107.546C 177.698,64.5703 181.333,34.2265 184.637,30.3712C 187.233,26.2886 
    187.067,26.5778 191.246,23.7614 Z ">
                        <Path.Fill>
                            <LinearGradientBrush StartPoint="0.51537,-0.00653635" EndPoint="0.51537,0.992601">
                                <LinearGradientBrush.GradientStops>
                                    <GradientStop Color="#7FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#26FFFFFF" Offset="1"/>
                                </LinearGradientBrush.GradientStops>
                            </LinearGradientBrush>
                        </Path.Fill>
                    </Path>

                </Canvas>
            </Grid>
        </Border>
        <Image x:Name="imgAvatar" Source="../UserTitle/10.png" Width="40" Height="40" Margin="5"/>
        <TextBlock x:Name="TxtUser" Grid.Row="1" Text="未登录" Foreground="#e88916" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="12"/>
    </Grid>
</UserControl>
